/* 全局样式配置 */
@import './reset.scss';
@import './global.scss';
@import './mixin.scss';
@import './resetElement.scss';

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #efefef;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background-color: #bfbfbf;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(64, 158, 255, 0.8);
}

* {
  position: relative;
  box-sizing: border-box;
}

html {
  font-size: $sNormal;
  line-height: $lhModerate;
  color: $dark2;
}

h1 {
  font-size: 22px;
  font-weight: $wBlod;
}

h2 {
  font-size: 20px;
  font-weight: $wBlod;
}

h3 {
  font-size: 18px;
  font-weight: $wNormal;
}

.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1900;
  background-color: rgba(0, 0, 0, 0.2);

  .content {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 10px;
    background-color: #ffffff;
    border-radius: $radiusSmall;
    transform: translate(-50%, -50%);

    .sure {
      width: 50%;
    }
  }
}

/* 表单横向滚动 */
.table-container {
  min-width: 1000px;

  table {
    overflow-x: auto;
  }
}
